---
import ChatPage from '@enterprise/eventcatalog-chat/pages/chat/index.astro';
import { isEventCatalogChatEnabled } from '@utils/feature';
import { buildUrl } from '@utils/url-builder';
if (!isEventCatalogChatEnabled()) {
  return Astro.redirect(buildUrl('/chat/feature'));
}
---

<ChatPage />
